<template>
	<div>
		<!-- <el-button @click="$router.push('/app_login')">
      跳到登录
    </el-button> -->
		<el-button @click="$router.push('/datapage')">
      跳到主页
    </el-button>
	</div>

</template>

<script>
import testService from "services/testService";
import userService from "services/userService";

export default {
  name: "about",
  data() {
    return {
      val1: 10
    };
  },
  mounted() {

    $(".testjquery").html("testjquery");
    // this.test()
  },
  methods: {

    test: () => {
      testService.testdata().then(res => {
        alert(res);
      });
    },
    testLogin: () => {
      let params = {
        loginName: 'cloudinnov',
        loginPassword: 'cloudinnov17',
        type: 'oem',
        language: 'cn'
      }
      userService.login(params).then(res => {
        alert(res)
        console.log(res);
        
      })
    }
  }
};
</script>


<style lang="scss" scoped>

</style>
